# -*- coding:utf-8 -*-



#python 流程控制之while

while True :
  print "True is define"


while 5 < 10:
  print "while 循环"
  


#用while循环来做1+2...100的累加


doit = True
a = 0
sum = 0  

while doit == True:
  a = a+1
  sum = sum+a

  if a == 100:
    doit = False


print sum








